/* * ---------------------------------------------------------------- * Copyright Backbase b.v. 2003/2013 * All rights reserved. * ---------------------------------------------------------------- * Version 5.5 * Author : Backbase R&D - Amsterdam - New York * Author : G.W.J. Kaandorp * ---------------------------------------------------------------- * * Implementation of http://www.w3.org/1999/xhtml * */ new function () { var tags = [ // HTML 4.01 elements (alphabetic order) /*'a', */'abbr', 'address', 'area', 'b', 'base', 'bdo', 'blockquote', 'body', 'br', 'button', 'caption', 'cite', 'code', 'col', 'colgroup', 'dd', 'del', 'dfn', 'div', 'dl', 'dt', 'em', 'eventsource', 'fieldset', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'hr', 'html', 'i', 'iframe', 'img', /*'input', */, 'ins', 'kbd', 'label', 'legend', 'li', 'link', 'map', 'menu', 'meta', 'noscript', 'object', 'ol', 'optgroup', 'option', 'p', 'param', 'pre', 'q', 's', 'samp', /*'script', */'select', 'small', 'span', 'strong', 'style', 'sub', 'sup', /*'table', 'tbody', */'td', 'textarea', /* 'tfoot', */'th', /*'thead', */, 'title', /*'tr', */ 'u', 'ul', 'var', // New HTML5 tags 'article', 'aside', 'audio', 'bdi', 'canvas', 'command', 'datalist', 'details', 'dialog', 'embed', 'figcaption', 'figure', 'footer', 'header', 'hgroup', 'keygen', 'mark', 'meter', 'nav', 'output', 'progress', 'rp', 'rt', 'ruby', 'section', 'source', 'summary', 'time', 'track', 'video', 'wbr', // The following HTML 4.01 elements are removed from HTML5 'acronym', 'applet', 'basefont', 'big', 'center', 'dir', 'font', 'frame', 'frameset', 'noframes', 'strike', 'tt'], tag = {}, DisplayElement = b$.bdom.getNamespace('http://backbase.com/2012/view').getClass('layoutElement'); tag['XHTML_xhtml'] = DisplayElement.extend(null, { namespaceURI:'http://www.w3.org/1999/xhtml', localName:'#xhtml', renderDisplay: function(displayModel) { var elm = document.createElement(this.localName); for (var i=0,l=this.attributes.length;i